<?php


namespace app\index\controller;


use app\common\controller\IndexBase;
use think\Controller;

class Pageinfo extends Controller
{


    public function index(){
        $id = input('id');
        $rows = model('listinfo')->where(['is_show'=>1])->find($id);
        $this->assign('rows',$rows);
        return $this->fetch();
    }

}